package com.rupertjones.globalcron.common.dao;

import com.rupertjones.globalcron.common.domain.JobDescriptor;
import com.rupertjones.globalcron.common.domain.JobStore;

import java.util.ArrayList;
import java.util.Collection;

/**
 * <p>&copy Rupert Jones 2013</p>
 *
 * @author rup
 */
public class EmptyJobStore implements JobStore {
    @Override
    public Collection<JobDescriptor> getAllJobs() {
        return new ArrayList<JobDescriptor>();
    }

    @Override
    public void upsert(JobDescriptor job) {

    }

    @Override
    public JobDescriptor findById(int id) {
        return null;
    }
}
